package com.pmpd.activity.rpc;

import com.pmpd.activity.rpc.fallback.ActivityPlanRpcFallback;
import com.pmpd.activity.rpc.param.ActivityTaskAlarmInfoParam;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author liuying
 * @Description 活动调用Plan模块
 * @Date 19:57 2018/6/11
 */
@FeignClient(name = "dmap-plan-server", fallback = ActivityPlanRpcFallback.class)
public interface ActivityPlanRpc {
    @RequestMapping(value = "/rpc/dmap-plan-server/v1/activity/insert/planListAndPlan", method = RequestMethod.POST)
    boolean setTaskAlarm(@RequestBody ActivityTaskAlarmInfoParam param);
}
